-module(data_sup).
-behaviour(supervisor).

-define(SERVER, ?MODULE).
-define(CHILD(I, Type), {I, {I, start_link, []}, permanent, 5000, Type, [I]}).

-export([start_link/0]).
-export([init/1]).

start_link() ->
    supervisor:start_link({local, ?SERVER}, ?MODULE, []).

init([]) ->
	ChildSpecs = [?CHILD(data_mgr, worker)],
    {ok, {{one_for_one, 10, 10}, ChildSpecs}}.
